package com.whu.exam.modules.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.exam.modules.exam.entity.ExamClassno;

import java.util.List;

public interface ExamClassnoService extends IService<ExamClassno> {

    /**
     * 保存全部
     * @param examId
     * @param classnos
     */
    void saveAll(String examId, List<String> classnos);


    /**
     * 根据考试查找对应的部门
     * @param examId
     * @return
     */
    List<String> listByExam(String examId);
}
